package com.woniuxy02;

import java.util.HashMap;
import java.util.HashSet;

/**
 * @author 作者
 * @create 2025-11-07 17:28
 */
public class Test01 {
    public static void main(String[] args) {
        HashMap<Integer,Student> map=new HashMap<>();
        map.put(1, new Student(1,"zs"));
        map.put(2, new Student(2,"ls"));
        System.out.println(map.get(1));
        System.out.println('a' & 0xff);
        System.out.println(97 & 0xff);
        System.out.println(1 & 0xff);
    }

    private static void test02() {
        HashMap<Integer,String> map=new HashMap<>();
        map.put(1,"zs");
        map.put(2,"ls");
        map.put(3,"ww");
        System.out.println(map.get(1));
        System.out.println(map.get(11));
    }

    private static void test01() {
        HashSet<String> set=new HashSet<>();
        set.add("aaa");
        set.add("bbb");
        set.add("ccc");
        set.add("aaa");
        set.add("bbb");
        set.add("ccc");
        set.add("aaa");
        set.add("bbb");
        set.add("ccc");
        System.out.println(set);


    }
}
